#
# Make file to build the MySQL example applications for the DBConnect API
# Copyright (c) Johnathan Ingram 2004
#
#####################################################################

SHELL = /bin/sh

top_srcdir = @top_srcdir@
CC = @CC@
CXX = @CXX@
CPPFLAGS = @CPPFLAGS@
CFLAGS = -fPIC $(CPPFLAGS) @CFLAGS@
IFLAGS = -I../../include
LFLAGS = -lstdc++ -ldl -L../../lib -ldbconnect -lpthread


all: mysql_types


mysql_types: mysql_types.cpp
	$(CC) -c  mysql_types.cpp $(CFLAGS) $(IFLAGS) -o mysql_types.o
	$(CC) -o  mysql_types $(CFLAGS) $(IFLAGS) mysql_types.o $(LFLAGS)


clean:
	rm -f ./*.o
	rm -f ./mysql_types
